<v-modal class="vModal--default"  onclose="closeWindow()">
	<div class="resultwindow"  ng-controller="resultstatisModal" style=" border-radius: 3px; height:80%; margin-top:2%;width:800px">
		<div class="head" style="    height: 30px; line-height: 30px;">
			<span style="font-size: larger;">试卷名称：{{name}} </span>
			<div class="close" ng-click="closeWindow()"><span>+</span></div>
		</div>
		<div class="resultwindowcontent" >
			<div class="resultwindowcontent_title" style="padding-top: 15px;">
				<div class="resultwindowcontent_title_left" >
                筛选条件：
                </div>
                <div class="resultwindowcontent_title_left" >
                <div>
                    <select class="ng-pristine ng-valid ng-touched" ng-model="params.correct" ng-change="correctgetFun()" style="padding:3px; border:1px solid #ddd;">
                        <option label="全部" value="" selected="selected">全部</option>
                        <option label="待批改" value="1" class="ng-binding">待批改</option>
                        <option label="已批改" value="2" class="ng-binding">已批改</option>
                        <option label="单人最高" value="3" class="ng-binding">单人最高</option>
                    </select>
                </div>
				</div>
				<div class="resultwindowcontent_title_right">
					 <input type="text" ng-model="params.searchText" placeholder="请输入考试人员姓名" class="xiaoge" style=" padding:5px;">
				
					<span ng-click="GetList()"  style="padding: 4px;border: 1px solid #39f;color: #FFF;background: #39f;border-radius: 4px;cursor: pointer;"><svg class="icon"  aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-sousuo"></use></svg> 查询成绩</span>
					<a style="margin-left: 8px;border: 1px solid #39f;color: #39f; background: #fff;padding: 4px;border-radius: 4px;text-decoration: none;margin-right: 5px;"  href="javascript:void(0)" ng-click="exportExcel()">导出Excel</a>
				</div>
			</div>
            <div class="jrtime" style="border: 0;">
                <div class="checkboxgroupbottom">
							<ul class="checkboxsxfl">
                                <li ng-repeat="org in personData.userOrgList">
									{{org.organization_Name}}
									<div ng-click="delOrg(org)"  class="close"><span>+</span></div>
                                </li>
                                  <li ng-repeat="group in personData.userGroupList">
									{{group.userGroup_Name}}
									<div ng-click="delGroup(group)"  class="close"><span>+</span></div>
                                </li>
                                  <li ng-repeat="role in personData.userRoleList">
									{{role.roles_Name}}
									<div ng-click="delRole(role)"  class="close"><span>+</span></div>
                                </li>
                            </ul>
                            <div ng-click="openPerson($event)" style=" color:#39f; cursor:pointer;margin-top: 5px;">
								<label>＋增加筛选条件</label>

							</div>
                </div>
            </div>
			<div class="resultwindowcontent_main" style="min-height:480px;">
				<table class="tab">
					<thead><tr>
						<th>考试人员</th>
						<th>交卷时间</th>
						<th ng-click="OrderClick()" style="color:#3399ff; cursor:pointer;">
									<i ng-if="params.orderby=='asc'" class="iconfont" tooltips tooltip-smart="true" tooltip-side="top" tooltip-template="从低到高">&#xec4f;</i>
								<i  ng-if="params.orderby=='desc'" class="iconfont" tooltips tooltip-smart="true" tooltip-side="top" tooltip-template="从高到低">&#xe6b1;</i>
							成绩</th>
                        <th>是否合格</th>
						<th>查看</th></tr>
					</thead>
					<tbody>
						<tr  ng-repeat="resultlist in List">
							<td style="width: 230px"><img src="/images/avatar.png" ng-src="{{resultlist.userinfo.user_Img}}" width="24" height="24" class="touxiang" onerror="javascript:this.src='/images/avatar.png'">{{resultlist.userinfo.user_Name}}({{resultlist.userinfo.user_Account}})</td>
							<td>{{resultlist.scoreTime}}</td>
							<td style="text-align: center;">{{resultlist.score}}分</td>
                             <td style="text-align: center;">{{resultlist.ispass==0?'合格':'不合格'}}</td>
							<td>
                            <a style="text-decoration:none" target="_blank" ng-href="{{fileurl+resultlist.exampaper.url+urlexamlopen+resultlist.scoreId+'&peopleId='+resultlist.userinfo.user_ID+'&token='+token}}"  ng-if="resultlist.exampaper.paper_Random!=0">查看试卷</a>
                           
                            <a style="text-decoration:none" target="_blank" ng-href="{{fileurl+'/resources/exam/'+resultlist.paperId+','+resultlist.exampaper.paperCount+'/'+((resultlist.randomNum==undefined)?1:resultlist.randomNum)+'.html'+urlexamlopen+resultlist.scoreId+'&peopleId='+resultlist.userinfo.user_ID+'&token='+token}}" ng-if="resultlist.exampaper.paper_Random==0" >查看试卷</a>
                            </td>
						</tr>
						<tr ng-show="List==undefined||List.length<=0"><td colspan="5"><center>
								<img style="width: 580px; margin:56px -10px" ng-src="{{loadingimg}}">
						</center></td></tr>
					</tbody>
				</table>
				
			</div>
			<div ng-if="isloading1" class="jisupeixun_loding ng-isolate-scope" data-ng-animate="1"><img ng-src="/images/loading.gif" src="/images/loading.gif"></div>
			<tm-pagination ng-show="List.length>0" conf="paginationConf" ></tm-pagination>
		</div>

        <!--人员选择器-->
            <selectormodal ng-if="personData.ApiOpen" apidata="personData"></selectormodal>
	</div>


</v-modal>
